package com.alibaba.dingtalk.openapi.newmessage.delivery;/*/*/

import com.alibaba.dingtalk.openapi.exception.ApiRuleException;
import com.alibaba.fastjson.JSONObject;

import java.io.Serializable;
/**
 *
 * @author 魏荣杰
 * @date 2019/3/21 20:17
 * @since v1.0
 * @version v1.0
 */
public abstract class AbstractDelivery implements Serializable {
    private static final long serialVersionUID = 184425219270790002L;

    public abstract JSONObject toJsonObject();

    public abstract void check() throws ApiRuleException;
}
